#开始寻找岛屿，以是否有基岩覆盖为判断标准
#as 单个传送的玩家 at 岛屿世界原点/各个岛屿点
#换行
scoreboard players set $fisland_t_f_find_sudf fisland_temp 1
execute store success score $fisland_t_f_find_sudf fisland_temp unless entity @e[tag=fisland_island,distance=0..5] if block ~ ~ ~ air if block ~ ~-1 ~ air if block ~ ~-2 ~ air if block ~ ~-3 ~ air if block ~ ~-4 ~ air positioned ~300 ~ 0 unless blocks ~ ~5 ~ ~ ~-5 ~ ~-300 ~-5 ~ all run function fisland:fix/find2
execute if score $fisland_t_f_find_sudf fisland_temp matches 0 run function fisland:fix/fixnext
#移动
execute if entity @e[tag=fisland_island,distance=0..5] positioned ~ ~ ~300 run function fisland:fix/find2
#检测选择
scoreboard players set $fisland_t_find fisland_temp 0
execute if score $fisland_t_find fisland_temp matches 0 store success score $fisland_t_find fisland_temp unless entity @e[tag=fisland_island,distance=0..5] unless block ~ ~ ~ air
execute if score $fisland_t_find fisland_temp matches 0 store success score $fisland_t_find fisland_temp unless entity @e[tag=fisland_island,distance=0..5] unless block ~ ~-1 ~ air
execute if score $fisland_t_find fisland_temp matches 0 store success score $fisland_t_find fisland_temp unless entity @e[tag=fisland_island,distance=0..5] unless block ~ ~-2 ~ air
execute if score $fisland_t_find fisland_temp matches 0 store success score $fisland_t_find fisland_temp unless entity @e[tag=fisland_island,distance=0..5] unless block ~ ~-3 ~ air
execute if score $fisland_t_find fisland_temp matches 0 store success score $fisland_t_find fisland_temp unless entity @e[tag=fisland_island,distance=0..5] unless block ~ ~-4 ~ air
#开始选择
execute if score $fisland_t_find fisland_temp matches 1 run function fisland:fix/find2